<template>
	<div id="app">
		<loading v-model="isLoading"></loading>
		<router-view/>
	</div>
</template>

<script>
	import { Loading} from 'vux'
	import { mapState } from 'vuex'
	export default {
		components: {
			Loading,
		},
		computed: {
			...mapState({
				isLoading: state => state.loading.isLoading
			})
    }
	}
</script>

<style lang="less">
	@import "assets/less/reset.less";
	@import "~vux/src/styles/1px.less";
</style>